package TAIC.util;

import java.io.File;
import java.io.PrintStream;

public class MakeFileList {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
			
//		if ( args.length < 1 ) {
//			System.out.println ( "please input the class name") ;
//			return ;
//		}
		
		//int classname = Integer.valueOf( args[ 0 ]) ;
		try {
			PrintStream fout = new PrintStream ( new File ( "index.txt")) ; 
			File file = new File ( ".") ;
			for ( File iter : file.listFiles()) 
				if ( !iter.getName().equalsIgnoreCase( "index.txt")) 
					fout.println ( iter.getName() ) ;
			fout.close() ; 
		}catch ( Exception e ) {
			e.printStackTrace() ; 
		}
	}

}
